<%@ page contentType="text/html; charset=UTF-8"%>
<%@ include file="pubhead.jsp"%>
<%@ page import="net.comm.util.HtmlMessageBox"%>

<%
	String alertType = (String)request.getAttribute("alertType");
	String htmlCode  = (String)request.getAttribute("htmlCode");

	if(Integer.parseInt(alertType) != HtmlMessageBox.ALERTTYPE_PRINTTOHTML) {
		out.print(htmlCode);
	}
	else {
%>

<meta http-equiv="Content-Type" content="text/html; charset=GB2312">
<table width="60%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC" style=" MARGIN-top:160px;">
  <tr>
    <td height="220" align="center" bgcolor="#F4F4F4">
	  <table width="530" border="0" cellpadding="0" cellspacing="1" bgcolor="#DDDDDD">
	    <tr>
		  <td bgcolor="#F4F4F4">
		    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
			  <tr>
				<td width="154" rowspan="3" align="center">
				  <img src="${cpath}/images/logo.png"  />
				</td>
				<td width="321" height="45" valign="bottom"></td>
				<td width="24" rowspan="3"></td>
			  </tr>
			  <tr>
			    <td width="290" height="47" align="left" valign="middle">
			      <div align="center" id="message">
				    <br><%=htmlCode%>
				  </div>
			    </td>
			  </tr>
			  <tr>
		        <td height="45" id="timer"></td>
			  </tr>
		    </table>
	    </td>
	  </tr>
    </table>
  </td>
</tr>
</table>
<%
	}
%>